<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="css/style.css"/>
	</head>
	<style type="text/css">
		.mui-table-view{
			margin-bottom: 0.9375rem;
		}
		.mui-content li {
			line-height: 2.625rem;
		}
	</style>

	<body>
		<header class="mui-bar mui-bar-nav header">
			<h1 class="mui-title">发现</h1>
		</header>
		<div class="mui-content">
			<ul class="mui-table-view">
				<li class="mui-table-view-cell mui-media" id="circle">
					<a href="javascript:;">
						<img class="mui-media-object mui-pull-left" src="img/pyq.png">
						<div class="mui-media-body">
							朋友圈
						</div>
						<span class="mui-navigate-right"></span>
					</a>
				</li>
			</ul>
			<ul class="mui-table-view">
				<li class="mui-table-view-cell mui-media" id="scan">
					<a href="javascript:;">
						<img class="mui-media-object mui-pull-left" src="img/sys.png">
						<div class="mui-media-body">
							扫一扫
						</div>
						<span class="mui-navigate-right"></span>
					</a>
				</li>
				<li class="mui-table-view-cell mui-media" id="shake">
					<a href="javascript:;">
						<img class="mui-media-object mui-pull-left" src="img/yyy.png">
						<div class="mui-media-body">
						    摇一摇
						</div>
						<span class="mui-navigate-right"></span>
					</a>
				</li>
			</ul>
			<ul class="mui-table-view">
				<li class="mui-table-view-cell mui-media" id="local">
					<a href="javascript:;">
						<img class="mui-media-object mui-pull-left" src="img/fjdr.png">
						<div class="mui-media-body">
							附近的人
						</div>
						<span class="mui-navigate-right"></span>
					</a>
				</li>
			</ul>
			<ul class="mui-table-view">
				<li class="mui-table-view-cell mui-media">
					<a href="javascript:;">
						<img class="mui-media-object mui-pull-left" src="img/jd.png">
						<div class="mui-media-body">
							京东购物
						</div>
						<span class="mui-navigate-right"></span>
					</a>
				</li>
				<li class="mui-table-view-cell mui-media">
					<a href="javascript:;">
						<img class="mui-media-object mui-pull-left" src="img/game.png">
						<div class="mui-media-body">
						    游戏
						</div>
						<span class="mui-navigate-right"></span>
					</a>
				</li>
			</ul>
			<ul class="mui-table-view">
				<li class="mui-table-view-cell mui-media">
					<a href="javascript:;">
						<img class="mui-media-object mui-pull-left" src="img/xcx.png">
						<div class="mui-media-body">
							小程序
						</div>
						<span class="mui-navigate-right"></span>
					</a>
				</li>
			</ul>
		</div>
		<script src="js/mui.js"></script>
		<script type="text/javascript">
			mui.init()
			mui.plusReady(function() {
				mui('#circle')[0].addEventListener('tap',function() {
					mui.openWindow({
						url:'circle.html',
						id:'circle.html'
					})
				})
				mui('#scan')[0].addEventListener('tap',function() {
					mui.openWindow({
						url:"scan.html",
						id:"scan.html"
					})
				})
				mui("#shake")[0].addEventListener('tap',function() {
					mui.openWindow({
						url:'shake.html',
						id:'shake.html'
					})
				})
				mui('#local')[0].addEventListener('tap',function() {
					var info = plus.push.getClientInfo();
					var msg = plus.push.createMessage( '您中了5000万,已存入到您的钱包！' );
					var allMsg = plus.push.getAllMessage();
					console.log('info:',JSON.stringify( info ))
					console.log('msg:',msg)
					console.log('allMsg:',allMsg)
					var push = plus.push.addEventListener('click',function(msg){
						mui.alert('你点击了:'+msg.content),
						false
					})
				})
			})
		</script>
	</body>

</html>
